copy to clipboard flutter

107

import 'package:flutter/services.dart';

onTap: () {
  Clipboard.setData(ClipboardData(text: "your text"));
},
dependencies:
  clipboard: ^0.1.2+8

Comments

Submit
0 Comments